#include "DateTimeStamp.h"


DateTimeStamp::DateTimeStamp(void)
{

}


DateTimeStamp::~DateTimeStamp(void)
{
}

void DateTimeStamp::setDate(int y, int m, int d){
	DateTimeStamp::tm.tm_year=y;
	DateTimeStamp::tm.tm_mday=d;
	DateTimeStamp::tm.tm_mon=m;
}

void DateTimeStamp::setTime(int h, int m, int s){
	DateTimeStamp::tm.tm_hour=h;
	DateTimeStamp::tm.tm_min=m;
	DateTimeStamp::tm.tm_sec=s;
}
tm *DateTimeStamp::getTimeStamp(){
	return &tm;
}
//char* DateTimeStamp::getDateTime(){
	//return (char*)DateTimeStamp::tm.tm_sec;
//}